.header{
    position: fixed;
    top: 0;
    left: 0;
    height: 50px;
    right: 0;
    background-color: #111111;
    color: #ffffff;
    font-size: 20px;
    line-height: 50px;
    display: inline-block;
    vertical-align: middle;
    padding-left: 15px;
    overflow: hidden;
    z-index: 0;
    text-align: center;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none;
}

.switch-blue{
  display: block;
  position: relative;
  padding-left: 100px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.switch-blue input{
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.switch-blue-control input:checked ~ .switch-control{
  background-color: dodgerblue;
}

.switch-blue-control input:checked ~ .switch-control::after{
  left: 55px;
}

.switch-blue-control .switch-control{
  position: absolute;
  top: 0;
  left: 0;
  height: 50px;
  width: 100px;
  border-radius: 25px;
  background-color: darkgray;
  transition: background-color 0.15s ease-in;
}

.switch-blue-control .switch-control::after{
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 40px;
  height: 40px;
  border-radius: 25px;
  background:#fff;
  transition: left 0.15s ease-in;
}